package com.ikun.subject.application.convert;
import com.ikun.subject.application.dto.SubjectCategoryDTO;
import com.ikun.subject.application.dto.SubjectLabelDTO;
import com.ikun.subject.domain.entity.SubjectCategoryBO;
import com.ikun.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
* @Description: 标签dto的转换
* @Author: Must.
* @Date: 2024/4/25 15:56
*/
@Mapper
public interface SubjectLabelDTOConverter {

    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabelBO convertDTOToBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertBOToDTOList(List<SubjectLabelBO> subjectLabelBOList);
}
